fix deploy assets issue

deal with asset instance before to deploy