added a failsafe for aim