fixed lamba error