polish code-snippets in ui