fixed the "Undefined index: 00" error