fixed startapp funcs and conf