db select issue again