fix problem with removing comments