fix asset spawner bug