snippet bugfixing
add some more snippets