fixed email registration