fix reg id check (must start with alphabetic char for sqlite)