hide rendering div on error