Fixed issue with brackets in primitives