edit key mapping to make tag generation work