Fixed bug related to assets