Bug in parsing Y gates fixed