minor fix in flags