added check for undefined LVC elements