Regression fix #4837

Wrong indention .Fixes the stopping of Frontier Gate