fix cost filter