fixed issue with some public data api queries