db_install fixes