fix coding style
set null instead of undefined
fix app is not instancieted

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