fix history featue