fixed snippets for mobile