Fixed error when collecting parent hooks