fixed stuffe in AISystem