fix deploy issues