trying to fix static root and disable debug mode