fixed error on keyboard shortcut legend