fixes to query for all data for a project