fix bug while no email