fix for freebase cursor bug