fix operand type error

convert list.get() to int