A loud noise is the best deterrent. Find some cheap instant coffee, or some type of metal canister with a lid that is short and squat in size. Take about a dollar or two worth of random change and put in it. Tape the lid on with electrical tape or duct tape. Shake when there is a bad behavior...