fixed email issue