ugh another fix for plan date bug