automatic gate problems