hide contents on error