Remove extra info from edit command