Fixing bad indexing push