Fix edit bug in show page