fix: proper condition for copying assets