Fixing references to subsite