Fixes a bug in the spring conf