correct inclusion in calaos read main loop