Revert "invaild error message"

This reverts commit 1c6c233a3db6111ab8c917ee3632bdfc3d685395.