fixed filter validation