fix reg (added id=autonumber)