add semicolon to snippet