Fix spring configuration