more fixesss
fixing up database