fixing the broken code after osin changes. Introduced in RangelReale/osin@cca734bceea0eb44cc87f5e36fd6e2648f5e8580