minor sql change.