db query typo fix --KW