checking for static_root