select: use null instead of undefined