- Partial fix for environment issue when calling returned anonymous function