crash fix for when deferreds are resolved with nil