fixed spider cookie and header setting loading bug and other improve