fetch filter in controller write