fix for delete all errors