Properly swallowing flag error messages