fix init position bug