fixed silly printing bug