fix up some stuff.