Maybe try putting the garbage somewhere else. Maybe he is only attracted to the smell of the garbage and where he dropped the kernels from the corn on the cob and they are in the ground and he is trying to find them?? I hope you fix your squirrel problem! :D