fixed loading errors