protection if shashlik not defined
if EE and EK not defined, skip assignEEtoHE. Need to be checked if and how to fix it