filter validation fix