Fixed small printing bug