fix https://bugs.launchpad.net/yade/+bug/1308074