FIXED BUG in sql.set AIto 1