repaired some runtime problems in smo-gtk3