fix: use multiline only when input is a string