remove orphaned hook