update valid/space/operator error code, debug func