Fix some case where togeojson would not be found