Fixed error in print