it was still coded with old one line and not taking in possible line breaks in the returning code part