fix for using mail validator