fixes for selected binding and grunt build