rm old `valueFunction` entry