better cast for aio