Fixed deploy errors