fixed some turnhandling bugs