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