EUCA-7258
fixed code that runs when ELB is enabled on host