fixed problem with missing close bracket