fixed print2 error