rewrite spider