minor db fix