Bug fix for Ai i wrote