remove any active error on unload