Prevent error messages flickering