Revert "do not use String(String) constructor"

This reverts commit 32cca64f0a426cdcf42b8547990f5679dc13fd35.