Fixed keyhandler directive