fixed last of major reference issues