fixed loop in dpu selection in debug