Fixed typo. Better error message.