Fix Gate toString