pre spider rewrite