made freebase dependency optional