delete unused code
fix network module: don't break single sites