fixed all problems with hiddenDates