fixed qucik select function