Hopefully erases the bug in ai