correct color css and page counter