fix css parsing errors