fix turn bug