fixed mail error