Fix read of member rather than method parameter