lint error/warning fixes

to eliminate warning: "if not static, why not local variable"