fixes occurences fetching