fixes segmentation fault when running sbopenurl