Fix spring bug