packValidate : fix bugs