remove duplicate var declaration
use deferred
fix app is not instancieted

if create stubcells more than one that uses other entry file,
the routings are all same.