file loading fix