transition bug fix