Fix string casting.