small resize editor fix