change the condition of loading.