Use int() so ViewInsert doesn't break in ST2