wait 0.005 second to input_check() to prevent chattering