fix some deploy setup