ubigraph: more bug fixes

I'm coding blind, here...