Init getviewer fix