add select2 bootstrap and fix some code more usable