fixed adding days to a program