fix some selected bug