fix datepicker restriction
fix getActiveIndex