Fix 500 error on page with submodules