Added assert in provider parser