fix index missing isset