Revert "remove useless code"

This reverts commit e994bc8571c0940de1b12902f7a38c29f4fb7443.
add comment