fixed bug in Futures.uncancellable
fixed redundant checks
minor fixes