turn bug fix