Don't mangle strings in place
Remove unnecessary cast