fixed date stuff to make it only show available options