Corrected $dom mistake