增加validation