fix mercury stylesheets