fixed error with period years