fixed more issues with procution env