fixed up loading MDA files