convert brackets to the PSR