bug in lazy function local variables fixed.