fixed history order