Fix the db call.