fixed a bug when phoneNumber is not provided