FIX promise/deferred loops