Fix static_root not defined