widen error checking