Fixed indexbugg 0 to 1