fix deferred in in add activity