bug in LineGnerationJSON fixed