remove needless local