remove unused brackets.