fix history command 2