Fix funky history