fixed bug preventing comments from being stripped properly