small db fix, probably redundant
merge upstream