Fixed bad subscript