Fix delete function with fun lambdas!