fixes in filter take info from cookie in controller