Revert "modified:add some code"

This reverts commit bce0fc7c5d3108538b24b2191c895a58226d972d.
modified:base on problem post by yuyong