fix handle multiple line injection