fix bug and add three snippets