fix bug history cmd not found