make sure no sensitive information is exposed and simplified query