some deploy fixes