fix bug in removing multiline comments