fixed error with attribute containing comma