rewrite process bar