Change regID to regid