fixing casing error for Gate