keyhandler compatibility