fix hardware keys show overflow not checked