more string performance fixes