some error control