seemingly fixed the transition bug.