fixed multiline printing