fixing some printing