correct css and templates