add gm resize