slight config change, added more conditions to del attempt failure