Fixed minor checkEmail bug