misc refinement