CAL-861 fix wrong event resource build