Fix type issue in assetS