add error setting + remove .cache file