minor fix for key mapping