fixed errors in ZKGatingScenarioTrack
fixed build errors in scoreboard