registerId fix