fixes #439, fixes dtext tests