spring config cleanup