fixed the loading