fixed refineqtlM.R