Fixed a bug in jet for dis causing undeterministic behaivor.