Fixing some general string bugs