fix key mappings