add provider ignores state