xml() not working on production