Fixed crawler to work with new db schema