fix grammar mistakes in variable name and comments