fixed non-print issue