slight fix to reset code for ball mode