Revert "min"

This reverts commit 8271e35b4e4d1d1ee5586d4b4e6848c7de6f0a6b.
fixed write issue in render_string