rm require from hooks