fixed checking email when editing account