Fixed an issue when dumping assets