cleanup some plugin settings