fixing format for brackets