fixed a bug with site configuration