i fixed the occasional ID error, it just didn't find an ID on the first try so i made it a list so it would find the next possible ID.