fix #3 for delete