fix for assetDir warning