SQ 4.1 bugfixes

Remove extra lines generation