small optimization of lazy functions