fixed history roll over