Fix bug with setting track id