remove unneeded hooks