fork from libscl 1.1.1