fix history command 3