css url rewriter independent of path
fix out of memory problem