error + check