Fix error when asset not found