fix initial codes