Tag change scripts can't execute new command

my colleague write below , it running well
tag = system.tag.read(“EndofLineDataDisplay/MDE/DisplaySelect”).value
if tag == 0:
window = system.nav.openWindow(‘Main Window’)
if tag == 1:
window = system.nav.openWindow(‘MDE’)

***I am copy my colleague command and paste it .see below .but it can’t show the widows when tag==2
if tag == 2:
window = system.nav.openWindow(‘Docked Windows/FP Banner’)

I had restart the TV screen. and save it and publish it. I don’t know where is wrong?