fixed the issues pointed out by forcer, except for the lambda-as-a-process-filter issue