Fixing incorrect error message.