Fix nodedef of open gates