- db regenerate bugfix