fixed history api