Fix init optimization.