fix AOT warning