change flash type for bad email