fix calculating -1 year