couple of fixes in investment tables and broke companies investment child table