fix server crash due to orphaned block in header file

This fixes issue #61