bug wrong value for erocode