fixed image class bug, now id