Bugfix lines to array