corrected bug that it was still looking in the root when publishing.