attempting to fix the NPE, since parsing the id's cause it.