fixing the filter param in the filter controller