fixed printing error