Fixed bug with double brackets