refine lambda expression