Bug on edit and save editor