fixed wrong variable name
error message punctuation