fixed missing spring config in agent part