cleanup to comment snippet