Fix deploying environment