fix gm command