Fixed printing buggs