Avoid the unused variable

And avoid accessing a property to trigger a side effect