fixes issue where server segfaults on 14.0.0 Darwin Kernel