helpers: correct smartSelect