fixes #606 and makes live safeStrings work