filter only for the frontend