minor db issues.