finishing txt database
bugfixes