corrected the history command