fix heads/tails div