fixed loading of db, created fixture, fixed some minor issues