removing deferred callback