fix the problem that can turn beyond 360.