freebase api calls working properly