fixes print line