fixed code snippets in readme