fixed filter in secureGretty example