Fixed obsolete hat dependency