remove complement of brackets