Fix Deploy errors