fixed jtr bug