fix to delete TEC loaded override file correctly