Fixed the but in getDataFromYQL