Fixed for use with newest Duality release

see http://www.fetzenet.de/forum/viewtopic.php?f=5&t=218s