refactor insert css