fix Unknown flag error