fix deploy code