fixing history method