fixed email problem