fix email and phone condition