Fixed bug in print statements

Buggy.