Bug fix on date visualization