fix spring config