Fix views in build