disables some buttons we don't want