fixed private query and public instance name