fixed bug in flags