put polygon gate condition box