small string generation fix