edit bug fixed