editing bug fixed