Remove redundant brackets