Fix edit action