removing comments from some lines