Fixed more loggin issue and double turn end.