remove a local variable that is not really used