stub error fix