fix multiline command issues