fixed code invalid syntax
change function name to del_entry from del_e