fix bad calendar dates