fixing the id check to a display name check