This has already been corrected see the other AI packages for how to do it.