fixed home key handling for custom key actions