fixed initialize working on renderPromise