fixed all deployment errors