fix no email array in condition to delete cache