modify spider code