fix a bug about dont_select