changing path assignments back to use text() rather than html()