select: corrected few issues.