minor DB request optimization.