try deleting on error