set default delimiter to prevent AttributeError: 'NoneType' object has no attribute 'decode'