featurecollection bugfix