fixed printout bug
fixed mail variable check