fix y/n parsing for segments and trailheads