pop() raise exception when typedlist's size==0