fixed too many brackets