remove unused hooks