fixed some printing