handle decimal to int conversion overflow by changing to defaul time period in around