fix app bootstrapping