Fix pattern for parent head