remove orphaned code from mirror executor