adding a regex id check