data frame subscript bug fix
better processSubscript