Fixed useless error message.