fixed history support issues and initialize events issue