<DB> Fix bugs.