Fix edit_action error