minor validation fix