set flags to true value