fixed shadow warning