fixing styles and dollar signs in code