fix reg adress