Small bugfixes for d-spacing, non-ascii characters