suppress Undefined index notices when dereferencing arrays