temp list generator bug fixed