fix the gp editor