eliminate warnings (var shadowing and uninitialized ivar)