show error state correctly