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’)
system.nav.closeParentWindow(event)
if tag == 1:
window = system.nav.openWindow(‘MDE’)
system.nav.closeParentWindow(event)


***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’)
system.nav.closeParentWindow(event)

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