fix listing edit bug