Help using variables to navigate

ok so i have my menubar movieclip with movie clip nav buttons inside with code like this :

on (release) {
_root.section=“gallery”;

if (_root._currentframe == 55) 
{}

if (_root._currentframe == 20) 
{_root.gotoAndPlay("fade");}

if (_root._currentframe == 80) 
{_root.gotoAndPlay(81);}

}

then on my _root timeline i have simple code like this :

gotoAndPlay(section);

this works fine for the first section , it’ll jump from the home page to the 1st designated section fine , but wont jump to the section further down the timeline when you hit that movie lip . it just freezes at the gotoAndPlay(section); frame .

sorry if this doesnt make sense , i just dont know why a script will work perfectly on one movieclip , and freeze on an identical one .