use translate to fix move bug