fixed crash when pressing 4