remove extra local variable