Bug + reset index

Fixed a bug in gaming and initial reset index.