fixed a little issue on print.