fix bug non-existing view and asset path