reference values grid, async insert, count fix