fixed repeated email issue