fixes issues with database