Fix problem with collector key setting