fixed xsite snippet