bugfixes in Futures class