fix a bug that sinit is wrong