adapt sensor reader in port for updated arch