Remove unnecessary/extra end