fix stupid typo, missing end