fixed parallel, fixed buffer overflow, robustness improvements