log history fixed

only need to fix few things