Fix of a possible NPE related to eiqgen resolution