Fixed typo in original code