fix deploy amend