fix complie warning without AIO