validation fix added