fixed subscripting on an integer