bug in print