Fix project_root functions