fixed history order, limited to 10