path_history bug resolved and made our code compatible to framework