misc refinements