Fixes not set indexes