fix multiline string detection