remove lambda reference