bug fixes

changes some behavior on the datepicker, not sure it is the right
move...
docs