Fixed index error in ascii element parser