Fixed typo on var names