remove orphan template