now checks to see if fields exist before trying to delete them