fixed error with missing closed bracket