fixed email address bug crash and missing parenthesis