double deferred resolve fix