fixing history styles