fix issue with figuring out current site