fix server validate bug