fix email reg check