fix sourcedetailtest