fixing issues with site migration