packages are now identified more correctly after queries