Challenges In Repairing Automatic Gates