thorough fix lifecycle bug.

and fix bug: rss cant build.