bug fix for multisite
Merge pull request #53 from abdulrauf/master

bug fix for multisite