everything working except costs (view error)