refine print format