more fixes for WP multisite