init rewrite with express