fixed indexing issue in view proxy reader thread