Output to qtl format bug fix