change square bracets to figure brackets