minor fixes to unitframes