bugfix in dropwizard collection script