fixes 1.4 degradation issue for db call