fix bug on commenting out some lines