fix no-select bug