Revise validate num