fix asset copying