EA_MODEL small bugfix regarding type of target-level variable