fix bug

the variable 'line' was used without initialize