correct a tiny error for DB select