remove some hooks