fixed inconsistent print calls