changed location of loading.remove