rewrite iduri