move error text from setting to flag