remove unnecessary snippets
remove unnecessary modes