swapped regex for id check instead