Fixing db load