remove comment for pattern