reenable hooks due to phpunit error