Syntax Fix

Fixed duplicate things in flags and changed flagrow type