plan date bug fix for activities and plan pgs