Revert "remove useless code"

This reverts commit 903259f5d46d2fbe12139047335cd2ec1269dbcb.
reconfig files

reconfig files