fix flags debu