Fixed some custom tables issues for database.
Fixed text domain.