Dropdowns directive fix