minor fixes to stuff.