fixed error handling when a give handlers deferred object is rejected