simplify css, add indexes