enable to use md.detail = true and md.skipdata = true together

fixed bug that prevented to use md.detail = true and md.skipdata = true together as described in #239