fix income and cost tables