fixed syntax error in flag arguments