fixes for moving wp files