Revert "fix error message"

This reverts commit 951106a0cf320cc8eaa8878525f75fc2ded203a8.