Fixed upper\lower transition bug