Fix wrong indexes and full report function