remove unnecessary named variable