restore old initial values and transfer function