deferred/promise tweaks