prevent "uninitialized string offset" notices. Fixes #129