fix admin page issue by using query params to filter