fixed bug that prevented using md.detail = true and md.skipdata = true together