correct transition bug