Fix a snippet