AI registration bug fixed
Merge pull request #20 from GSP420/AI-register-fix

AI registration bug fixed