fixed loading problem