remove content embraced in brackets