visit validation fix