removing extra_heads