remove useless lambda