fix hat.rack usage