fix bugs with angular/select2