fix for manifest not loading remote environment correctly