1. modify specialties selector to generate selectors by calling functioin initSpecialtiesSelection.
2. bug fix.