fixing rescan bug