remove old hex directive