fix delete-row listener