default layout was not working on providers