small fix for mode keys