fixed loading error