fixed bug of select
fixed bug of select