fix whiny nils and asset_url warnings