fixed end typo