Fixed buggy ai shit a bit