fix bugs about turn method