Fix SLS bug