reduce redundant prints.