fix history command 4