keep the final dot in snippets