correct bug in DOMLEM