fix OWMW space replacement issue, closes #48