fix renderStr