fixed typo with confirm delete function call