fixed bug in semicolon where numbers of flags differed