Fixed typo in misleading error message