corretions and updates to holdings query