Fixed an error on insert tcount