fixed bug with wrong brackets format