Fixed up printing errors