fixed pic edit bug