vars for error string checking