Solved bugs related to timespan.