patch fix env deploys and spec fix