Fix error on way history