Revert "fix error design"

This reverts commit fcff586797e3d211c8fe9327489a700f48839d19.