fixing up osg demo