fixed history date behavior