fixed print issue