correct incorrect handling of escapes in strings