remove unnecessary brackets.