support local rotate better