Fixed bug in postEdit