fixed bug with TimeSpan control