Fix page bug in hats