fix validatation