added smart-selects compatability