Fixes so the database can be generated