fix email to  bug