fixed future_wait