fixed some issues with the spider