prevent double horseshoe etc