db call fix