Fixed variable typo... woops... getting late here