fix koala bug of using lambda